/**
 * @Author: lclangcheng
 * @Date:   2018-05-09 09:24:59
 * @Email:  lclangcheng@gmail.com
 * @Filename: production.js
 * @Last modified by:   lclangcheng
 * @Last modified time: 2018-08-15 17:00:58
 * @License: jin10
 * @Copyright: jin10
 */
'use strict'

module.exports = {
  mysql: {
    // { database, username, password, dialect: 'mssql' }
    'default': {
      db: 'zituwang',
      host: 'rm-bp1pakorho5hiea08qo.mysql.rds.aliyuncs.com',
      user: 'zituwang',
      pass: '80pU5KHx6Mch1ebuoTfi4McIfB0MD0',
      poll_size: 1,
      port: 3306,
      dbCache: false
    },
    'search': {
      host: 'rm-bp1svuqbn21903wyxvo.mysql.rds.aliyuncs.com',
      db: 'search',
      user: 'search',
      pass: 'VuCIYBPljCSd1QfM',
      poll_size: 1,
      port: 3306,
      dbCache: false
    }
  },
  redis: {
    'default': {
      host: '127.0.0.1',
      pass: 'RnR0xCqVn1u6ANMw',
      db: 0,
      port: 6379
    }
  },
  es: {
    'master': {
      host: '121.40.114.78',
      port: '8083',
      httpAuth: 'jin10_elastic:6Y1jKvwQanesJE1S',
      apiVersion: '6.3',
      weight: 50
    }
  },
  isCluseter: false,
  log: {
    saveDays: '3d', // 保存天数
    max_size: '100m' // 文件大小分割
  },
  kMyMqAppIdentity: 'kZiTuWangOpenApi' + '938955',
  kMyMqSearchTopic: 'search'
}
